﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.CBO.Pub.Controller;
    using UFIDA.U9.SM.Ship;
    using UFSoft.UBF.AopFrame;
    using UFSoft.UBF.Transactions;
    using UFSoft.UBF.Util.Context;

	/// <summary>
	/// ShipSaveOpenSV partial 
	/// </summary>	
	public partial class ShipSaveOpenSV 
	{	
		internal BaseStrategy Select()
		{
			return new ShipSaveOpenSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class ShipSaveOpenSVImpementStrategy : BaseStrategy
	{
		public ShipSaveOpenSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			ShipSaveOpenSV bpObj = (ShipSaveOpenSV)obj;
			return CodeUtils.DocSaveRT(
				bpObj, 
				bpObj.Data, 
				ShipBase.CreateDoc, 
				null);
        }		
	}

	#endregion
	
	
}